package com.smart.home.service;

import java.util.Map;

import com.smart.home.model.PicModel;
import com.smart.home.system.DataGrid;

public interface UpPicService {
	
	/**
	 * 获取图片列表
	 * @param params
	 * @return
	 */
	public DataGrid getPicList(Map<String, Object> params) throws Exception;

	/**
	 * 删除图片
	 * @param picId
	 * @return
	 * @throws Exception
	 */
	public int delPic(Integer picId) throws Exception;
	
	/**
	 * 更改图片状态
	 * @param isAble
	 * @return
	 * @throws Exception
	 */
	public int updatePicStatus(Integer picId,Integer isAble) throws Exception;
	
	/**
	 * 上传图片
	 * @param picModel
	 * @return
	 * @throws Exception
	 */
	public int addPic(PicModel picModel) throws Exception;

}
